export interface ITreeConfig{
    data:TreeNode[];
    selectType?:SelectionType,
    isOnSelected?:boolean;
    onSelected?:Function;
    isOnNodeUnselect?:boolean;
    onNodeUnselect?:Function;
    isOnNodeCollpase?:boolean;
    onNodeCollpase?:Function;
    isOnNodeExpand?:boolean;
    onNodeExpand?:Function;
    lazyFiles?:Function;
    isRightMenu?:boolean;
    rightKeyMenu?:IMenu[];
}
export enum SelectionType {
    SINGLE,
    MULTIPLE,
    CHECKBOX
}
export interface IMenu{
label:string;
icon?:string;
command:Function;
}
export class TreeNode{
    label?:string;
    data?:any;
    icon?:string;
    expandedIcon?:string;
    collapsedIcon?:string;
    children?:TreeNode[];
    leaf?:boolean;
    style?:string;
    styleClass?:string;
    expanded?:boolean;
    type?:string;
    orentation?:string;
}